package edu.scau.divineplace.entity.vo.message;

import edu.scau.divineplace.entity.enums.CommentTargetTypeEnum;
import edu.scau.divineplace.entity.enums.LikeTargetTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: x1aolone
 * @Date: 2020/12/29 22:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("CommentMessageVO")
public class ReplyMessageVO {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("评论用户id")
    private Long userId;

    @ApiModelProperty("评论用户名")
    private String userName;

    @ApiModelProperty("评论用户头像")
    private String userAvatar;

    @ApiModelProperty("评论id")
    private Long commentId;

    @ApiModelProperty("父评论id")
    private Long parentId;

    @ApiModelProperty("评论时间")
    private LocalDateTime commentTime;

    @ApiModelProperty("评论内容详情")
    private String comment;

    @ApiModelProperty("被评论内容详情")
    private String repliedComment;

    @ApiModelProperty("评论内容id")
    private Long commentTargetId;

    @ApiModelProperty("评论内容类型")
    private CommentTargetTypeEnum commentTargetType;

}
